Introduction to Sockeye

Tony Liang

University of British Columbia

Land acknowledgement

I would like to acknowledge that I work on the traditional, ancestral, and unceded territory of the Coast Salish Peoples, including the territories of the xwməθkwəy̓əm (Musqueam), Skwxwú7mesh (Squamish), Stó:lō and Səl̓ílwətaʔ/Selilwitulh (Tsleil- Waututh) Nations.

Traditional: Traditionally used and/or occupied by Musqueam people

Ancestral: Recognizes land that is handed down from generation to generation

Unceded: Refers to land that was not turned over to the Crown (government) by a treaty or other agreement

Setup

Checkout the instruction of your right platform below:

Open this link to download, once it is finished:

  1. Open the downloaded VSCode-darwin-universal.zip file
  2. Move the extracted VS Code app from Downloads to Applications (Located to your left under Favorites)
  3. Launch VS Code and open the Command Palette by Cmd + Shift + P
  4. Type shell command
  5. Select the option: Install code command in PATH
  6. Restart your terminal and try entering: code --version to confirm successful installation

Open this link and download.

Once download is finished, run the installer and accept all default configuration except:

  • On Select Additional Tasks

    • Add ‘Open with Code action to Windows file context menu’
    • Add ‘Open with Code’ action to Windows directory context menu”
    • Register Code as an editor for supported file types
    • Add to PATH (should be selected by default)

Connecting to Sockeye

Login to sockeye with the ssh command:

ssh cwl@sockeye.arc.ubc.ca
  • cwl is your campus wide login
  • password is your same CWL password
  • sockeye.arc.ubc.ca is the server address

Note

You need to have a UBC IP address in order to access to the server by connecting to eduroam or ubcsecure

Alternative way connecting to Sockeye

Tip

You probably tired of typing password over and over to login to server, we could make more use of ssh

Generate a new ssh key pair

ssh-keygen -t rsa
  • Follow the defaults by prompting Enter
  • Passphrase not required, personal flavor

Prompt the following to check existing ssh keys with id_* format:

ls -a ~/.ssh/
  • one public (id_*.pub)
  • one private (id_*)

Caution

Keep the private key safe and for your use only

VS Code

  • Non increment , should appear together
  • Non increment , should appear together
  • Non increment , should appear together

Another Slide here

New slide, should have a pause

Show later

Terminal

This is left column

This is right column

Yet another slide with tabsets

wow